package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.bean.WdHtRoomPay;
import com.zhuoshi.mapper.WdHtRoomPayMapper;
import com.zhuoshi.service.WdRoomPayService;
@Service
public class WdRoomPayServiceImpl implements WdRoomPayService {

	@Autowired
	private WdHtRoomPayMapper roomPayMapper;
	@Override
	public int deleteByPrimaryKey(String roomPayId) {
		// TODO Auto-generated method stub
		return roomPayMapper.deleteByPrimaryKey(roomPayId);
	}

	@Override
	public int insert(WdHtRoomPay record) {
		// TODO Auto-generated method stub
		return roomPayMapper.insert(record);
	}

	@Override
	public int insertSelective(WdHtRoomPay record) {
		// TODO Auto-generated method stub
		return roomPayMapper.insertSelective(record);
	}

	@Override
	public WdHtRoomPay selectByPrimaryKey(String roomPayId) {
		// TODO Auto-generated method stub
		return roomPayMapper.selectByPrimaryKey(roomPayId);
	}

	@Override
	public int updateByPrimaryKeySelective(WdHtRoomPay record) {
		// TODO Auto-generated method stub
		return roomPayMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(WdHtRoomPay record) {
		// TODO Auto-generated method stub
		return roomPayMapper.updateByPrimaryKey(record);
	}
	
	@Override
	public List<WdHtRoomPay> selectAll(WdHtRoomPay record) {
		// TODO Auto-generated method stub
		return roomPayMapper.selectAll(record);
	}

}
